import React from 'react';

export const ThemeContext = React.createContext(); // 数据源
export const ThemeProvider = ThemeContext.Provider; // 提供者
export const ThemeConsumer = ThemeContext.Consumer; // 消费者

export const UserContext = React.createContext();
export const UserProvider = UserContext.Provider;
export const UserConsumer = UserContext.Consumer;
